package com.rustic.server.dto.weixin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 微信小程序登陆
 *
 *  @author xy
 */
@Data
public class WeiXinMiniProgramUserInfoDTO {

    @NotEmpty(message = "openid不能为空")
    private String openid;

    @NotEmpty(message = "rawData不能为空")
    private String rawData;

    @NotEmpty(message = "signature不能为空")
    private String signature;

    @NotEmpty(message = "encryptedData不能为空")
    private String encryptedData;

    @NotEmpty(message = "iv不能为空")
    private String iv;
}
